export function splitByLength(str: string, num: number) {
  let strArr: string[] = [];

  for (let i = 0; i < str.length; i += num) strArr.push(str.slice(i, i + num));
  return strArr;
}
